package ads.server;

import java.io.Serializable;

public class SpreadResponseMessage implements Serializable {

	@Override
	public String toString() {
		return "(" + id + "," + result + ")";
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -5994768457578747228L;
	private Serializable result;
	private String id;

	public SpreadResponseMessage(String id, Serializable result) {
		super();
		this.id = id;
		this.result = result;
	}

	public Serializable getResult() {
		return result;
	}

	public void setResult(Serializable result) {
		this.result = result;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
